<?php
namespace app\index\controller;
use app\common\lib\Sms;
use think\Exception;

class Index
{
    public function index()
    {
//        print_r($_GET);
        return "fengqinggdfgfdgdf123";
    }
    public function  fengqin(){
        /*try{
            $phone = 18334575765;
            $code = mt_rand(100000,999999);
            Sms::sendSms($phone,$code);
        }catch (Exception $e){
            var_dump($e->getMessage());
        }*/
        return time();

    }

    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }
}
